Complete sample code to send an email:
Rest API Url: https://messagingapis.paylite.net/api/email/send
Content-type: application/json
Request: Post
{
"ApiKey": "Your API Key",
"FromEmail": {
"Email": "From Email",
"Name": "From Name"
},
"ToEmail": [
{
"Email": "To Email Address",
"Name": "To Name"
}
],
"CcEmail": [
{
"Email": "Cc Email Address",
"Name": "Cc Name"
}
],
"BccEmail": [
{
"Email": "Bcc Email",
"Name": "Bcc Name"
}
],
"Subject": "Subject goes here",
"HtmlContent": "Html body goes here"
}